use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {
    let word_split = input_str.split(',');
    let mut word_set = HashSet::new();

    for word in word_split.into_iter(){
        word_set.insert(word.to_string());
    }

    word_set.len()
}
